<template>
	<h1>App...</h1>
	<A :age="18" @close="close" />
	<B name="jack" @close="close" />
</template>

<script>
import A from '@/views/A'
import B from './views/B'

export default {
	name: 'App',
	components: {
		A,
		B,
	},
	methods: {
		close() {
			console.log('close')
		},
	},
}

// This starter template is using Vue 3 experimental <script setup> SFCs
// Check out https://github.com/vuejs/rfcs/blob/script-setup-2/active-rfcs/0000-script-setup.md
</script>

<style>
#app {
	font-family: Avenir, Helvetica, Arial, sans-serif;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-align: center;
	color: #2c3e50;
	margin-top: 60px;
}
</style>
